package com.sevenluo.netty.learn.client.handler;

import io.netty.handler.timeout.IdleStateHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * @author: 程序员七哥
 * @date: 2022-02-02
 * @description: 客户端空闲监测，5 秒没写数据就发送 keepalive 消息
 */
@Slf4j
public class ClientIdleCheckHandler extends IdleStateHandler {

    public ClientIdleCheckHandler() {
        super(0, 5, 0);
    }


}
